package com.stylefeng.guns.modular.system.service.impl;

import com.stylefeng.guns.modular.system.model.CmsUserDemand;
import com.stylefeng.guns.modular.system.dao.CmsUserDemandMapper;
import com.stylefeng.guns.modular.system.service.ICmsUserDemandService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author stylefeng
 * @since 2018-10-24
 */
@Service
public class CmsUserDemandServiceImpl extends ServiceImpl<CmsUserDemandMapper, CmsUserDemand> implements ICmsUserDemandService {

    @Autowired
    private CmsUserDemandMapper cmsUserDemandMapper;
    
    @Override
    public List<Map<String,Object>> getUserList(Integer id) {
        return cmsUserDemandMapper.getUserList(id);
    }
}
